cgroup: Mark memory protections as explicitly set in transient units
authorChris Down <chris@chrisdown.name>
Mon, 30 Sep 2019 17:36:13 +0000 (18:36 +0100)
committerMichael Biebl <biebl@debian.org>
Sun, 10 Nov 2019 23:58:41 +0000 (23:58 +0000)
commitab3437969385b3bab77b67f53ecfdb7825429724
tree42b10e77d6cb94a7464ac2d586c7a2f302f0d8bb
parent11b55cb0bcc6d3876cf29802788c81ea31f63b69
cgroup: Mark memory protections as explicitly set in transient units

A later version of the DefaultMemory{Low,Min} patch changed these to
require explicitly setting memory_foo_set, but we only set that in
load-fragment, not dbus-cgroup.

Without these, we may fall back to either DefaultMemoryFoo or
CGROUP_LIMIT_MIN when we really shouldn't.

(cherry picked from commit 184e989d7da4648bd36511ffa28a9f2b469589d1)
(cherry picked from commit b5df1037a0c02ff04886fda7c11868be65c54bd6)

Gbp-Pq: Name cgroup-Mark-memory-protections-as-explicitly-set-in-trans.patch
src/core/dbus-cgroup.c